<?php
class Headermodel extends Model{

    public function  __construct() {
        parent::Model();
    }

    public function getHeader(){
        $this->db->where('type','0');
        $this->db->limit('1');
        $query = $this->db->get('lawyer');
        return $query->num_rows==1?$query->row():false;
    }
}
